package com.jianglin.state2.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jianglin.state2.dao.entity.Useer;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UseerMapper extends BaseMapper<Useer> {
    /**
     *
     * @param userId
     * @param userpwd
     * @return
     *
     */
    @Select("select userForm from useer where userId=#{userId} and userpwd=#{userpwd}" )
    List<Useer> selectForm(@Param("userId") String userId,@Param("userpwd") String userpwd);
}
